//
//  engine.h
//  gles1
//
//  Created by Realore Realore on 26.09.11.
//  Copyright 2011 Realore Studios. All rights reserved.
//
#import <UIKit/UIKit.h>
#include <QuartzCore/QuartzCore.h>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>
#import <OpenGLES/ES2/gl.h>
#import <OpenGLES/ES2/glext.h>
//#import "font.h"

#ifdef __cplusplus
extern "C" {
#endif
    //void HandleInput(bool up, float x, float y,int touch);
   // void HandleMultiInput(NSSet* touches,int state);
    
    void HandleInputBegin(UITouch* touch,UIView pview);
    void HandleInputMove(UITouch* touch,UIView pview);
    void HandleInputUp(UITouch* touch,UIView pview);
    
    extern void SetFrameBuf();
    extern void PresentFrameBuf();
int InitEngine();
void DrawFrame();
    void Quant();    
    //current texture for render
    static int CURRENTTEXTURE;
#ifdef __cplusplus
}
#endif
